package com.jy.api.misc.dto;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author Alen
 * @date 2024/8/7 16:09
 * @since 2024/8/7 16:09
 */
public class QuHuaDMDto {
    @JSONField(
            serializeUsing = ToStringSerializer.class
    )
    private Long id;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date chuangJianSJ;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date xiuGaiSJ;
    private String zuoFeiBZ;
    @ApiModelProperty("类型：1省级 2地级 3县级 4乡级 5村级")
    private String leiXing;
    @ApiModelProperty("名称")
    private String mingCheng;
    @ApiModelProperty("统计用区划代码")
    private String quHuaDM;
    @ApiModelProperty("城乡分类代码")
    private String chengXiangFLDM;
    @ApiModelProperty("是否有孩子结点（0:否 1:是）")
    private Integer ziJieDian;
    @ApiModelProperty("父id")
    @JSONField(
            serializeUsing = ToStringSerializer.class
    )
    private Long parentId;

    public QuHuaDMDto() {
    }

    public Long getId() {
        return this.id;
    }

    public Date getChuangJianSJ() {
        return this.chuangJianSJ;
    }

    public Date getXiuGaiSJ() {
        return this.xiuGaiSJ;
    }

    public String getZuoFeiBZ() {
        return this.zuoFeiBZ;
    }

    public String getLeiXing() {
        return this.leiXing;
    }

    public String getMingCheng() {
        return this.mingCheng;
    }

    public String getQuHuaDM() {
        return this.quHuaDM;
    }

    public String getChengXiangFLDM() {
        return this.chengXiangFLDM;
    }

    public Integer getZiJieDian() {
        return this.ziJieDian;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public void setChuangJianSJ(Date chuangJianSJ) {
        this.chuangJianSJ = chuangJianSJ;
    }

    public void setXiuGaiSJ(Date xiuGaiSJ) {
        this.xiuGaiSJ = xiuGaiSJ;
    }

    public void setZuoFeiBZ(String zuoFeiBZ) {
        this.zuoFeiBZ = zuoFeiBZ;
    }

    public void setLeiXing(String leiXing) {
        this.leiXing = leiXing;
    }

    public void setMingCheng(String mingCheng) {
        this.mingCheng = mingCheng;
    }

    public void setQuHuaDM(String quHuaDM) {
        this.quHuaDM = quHuaDM;
    }

    public void setChengXiangFLDM(String chengXiangFLDM) {
        this.chengXiangFLDM = chengXiangFLDM;
    }

    public void setZiJieDian(Integer ziJieDian) {
        this.ziJieDian = ziJieDian;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }
}
